// 订单模块路由
const Router = require('koa-router')

const orderController = require('../../controllers/orderController')

let orderRouter = new Router()

// 获取用户的所有订单信息
orderRouter.post('/user/order/getOrder', orderController.GetOrder)
// 添加用户订单信息
orderRouter.post('/user/order/addOrder', orderController.AddOrder)

module.exports = orderRouter
